package cn.zhentao.service.impl;

import cn.zhentao.dao.CardDao;
import cn.zhentao.pojo.Card;
import cn.zhentao.service.CardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CardServiceImpl implements CardService {

    @Autowired
    private CardDao dao;
    @Override
    public List<Card> findAll() {
        return dao.findAll();
    }
}
